using System.Collections.Generic;

namespace pub.Settings
{
    public interface ISettings
    {
        ISettings this[string sectionName] { get; }
        bool BoolValue { get; set; }
        string StringValue { get; set; }
        int IntValue { get; set; }
        T GetValue<T>(T defValue);
        IDictionary<string, string> Entries { get; }
        void Clear();

        byte[] BytesValue { get; set; }
    }
}